/**
 * Created by Administrator on 2017/6/12.
 */
angular.module('appFirstPage',[])
.controller('firstController',['$scope','$location',function ($scope,$location) {
    $scope.text = "这是第一页";
    $scope.goToIndex2 = function () {
        $location.path('/second');
    }
}]);